SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 35066: When a bulk-loading process fails with "SQL*Loader 2026" error, error message appears as a warning in the SAS® log

DetailsAboutRate It

If a bulk-loading process fails when you use SAS with SAS/ACCESS® Interface to Oracle, Oracle issues the following error:

SQL*Loader-2026: The load was aborted because SQL Loader cannot continue.

Oracle sends a return code that is picked up by SAS. Instead of returning an error message in the SAS log, the SQLLDR option returns the following warning message:

WARNING: 'All or some rows were rejected/discarded!' 

To ensure that SAS returns warnings as errors, you need to make sure that the following SQLLDR option is set to YES:

bl_return_warnings_as_errors=yes

When the option is set to NO (the default value), all SQLLDR warnings are returned as warnings. However, when the option is set to YES, all SQLLDR warnings are returned as errors (SYSERR will reflect this).



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to OracleMicrosoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP49.2 TS2M3
Microsoft Windows XP Professional9.1 TS1M3 SP49.2 TS2M3
Windows Vista9.1 TS1M3 SP49.2 TS2M3
64-bit Enabled AIX9.1 TS1M3 SP49.2 TS2M3
64-bit Enabled HP-UX9.1 TS1M3 SP49.2 TS2M3
64-bit Enabled Solaris9.1 TS1M3 SP49.2 TS2M3
HP-UX IPF9.1 TS1M3 SP49.2 TS2M3
Linux9.1 TS1M3 SP49.2 TS2M3
Linux on Itanium9.1 TS1M3 SP49.2 TS2M3
OpenVMS Alpha9.1 TS1M3 SP49.2 TS2M3
Solaris for x649.1 TS1M3 SP49.2 TS2M3
Tru64 UNIX9.1 TS1M3 SP49.2 TS2M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.